package com.millstein.mapper;

import com.millstein.model.ProductOrderItemDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author millstein
 * @since 2021-09-17
 */
public interface ProductOrderItemMapper extends BaseMapper<ProductOrderItemDO> {

    /**
     * 批量新增订单子项
     * @param itemList 订单子项
     * @return
     */
    int batchInsert(@Param("itemList") List<ProductOrderItemDO> itemList);
}
